<html>
<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf8">
<meta name="description" content="untitle">

<title><?php echo $title; ?></title>

<?php foreach ($styles as $style) { ?>
<link rel="stylesheet" type="text/css" href="<?php echo $site['style_url'] . $style; ?>" />
<?php } ?>
<?php foreach ($scripts as $script) { ?>
<script type="text/javascript" src="<?php echo $site['script_url'] . $script; ?>"></script>
<?php } ?>
<script type="text/javascript">
$(function(){
	s = new search_goods('normal');
	$('.search-goods-form .options-wrapper .btn').click(function(){
		s.extend_options();
	})
})
</script>
</head>

<body>
<h1>功能测试页面 - 货品搜索功能</h1>
</body>
<div id="test-wrapper">
	<div class="search-goods-form">
		<form name="search.goods" method="GET" action="">
			<input type="hidden" name="search" value="true" />
			<input type="hidden" name="type" />
			<input type="hidden" name="keyword" />
		</form>
		<div class="options-wrapper">
			<div class="options">
				<ul>
					<li class="option" value="goods_id">货号</li>
					<li class="option" value="search_code">搜索码</li>
				</ul>
			</div>
			<div class="btn">></div>
		</div>
		<div class="keyword">
			<input type="text" name="keyword" class="keyword" />
			<div class="btn">搜</div>
		</div>
		<div class="result ajax-c">
			<p class="title">搜索结果</p>
		</div>
	</div>
</div>
</html>